wccbef\classes\controllers\WCCBEF_Ajax D

Total Complexity 197
Dependencies 15
Dependents 1
Total lines 899
Lines of code 791
Logical lines of code 420
Comment lines 0
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
coupons_bulk_edit()
C
34 31 80
edit_by_calculator()
C
33 23 99
save_history()
B
36 22 76
get_coupon_products()
A
48 10 30
get_coupon_used_by()
A
49 9 29
delete_coupons()
A
49 8 29
get_coupon_categories()
A
51 8 24
update_coupon_taxonomy()
A
47 7 34
column_manager_add_field()
A
55 8 16
inline_edit()
S
45 6 40
get_text_editor_content()
S
51 7 25
get_coupon_used_in()
S
55 6 18
column_manager_get_fields_for_edit()
S
50 5 28
add_meta_keys_by_coupon_id()
S
53 5 21
duplicate_coupon()
S
60 5 12
sort_by_column()
S
52 4 24
get_products()
S
54 4 21
get_categories()
S
57 4 16
load_filter_profile()
S
51 3 27
create_new_coupon()
S
61 4 12
save_filter_preset()
S
55 3 19
coupons_filter()
S
55 3 19
save_history_for_delete()
S
56 2 18
__construct()
S
50 1 27
change_count_per_page()
S
62 2 12
get_default_filter_profile_coupons()
S
58 1 16
register_callback()
S
72 2 6
filter_profile_change_use_always()
S
65 2 9
make_response()
S
75 2 4